package com.scalar.chiptrack.adaptor.jobs;

import com.scalar.chiptrack.jobs.JobHandler;
import com.scalar.chiptrack.adaptor.dao.AdaptorDAO;
import com.scalar.chiptrack.commons.Constants;

/**
 * Created by IntelliJ IDEA.
 * User: munugoti
 * Date: Feb 9, 2009
 * Time: 2:56:57 PM
 * To change this template use File | Settings | File Templates.
 */
public class DropOutLotNotificationJob extends JobHandler
{
    public static void main( String agrs[] ) throws Exception
    {
		new DropOutLotNotificationJob().execute();
	}

    public void execute() throws Exception
    {

        AdaptorDAO.updateDropOutLotsNotificationStatus(null);

        AdaptorDAO.sendAllNotificationsByNsType(Constants.DROPOUT_NOTIFICATION );
    }
}
